const Parent=require('./Parent');
class Map extends Parent{
	constructor(){
		super();
		this.id=200;
        this.mapSize={
            width:17,
            height:12
        };
        this.tileSize={
            width:60,
            height:60
        };
        this.userStartPos=[[6,5],[10,5]];
		this.boxes=[
            [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
            [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
            [0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0],
            [0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0],
            [0,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,0],
            [0,1,1,1,1,0,0,1,1,1,0,0,1,1,1,1,0],
            [0,1,0,1,1,0,1,0,0,0,1,0,1,1,0,1,0],
            [0,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,0],
            [0,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,0],
            [0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0],
            [0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0],
            [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
        ];
        this.obstacles=[
            [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
            [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
            [1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1],
            [1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1],
            [1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1],
            [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],
            [1,0,1,0,0,0,0,1,1,1,0,0,0,0,1,0,1],
            [1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1],
            [1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1],
            [1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1],
            [1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1],
            [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
        ];
	}
}

module.exports=Map;